<?php
/* 
PaySwed payment module. This file handles communication with bank.

Copyright (c) 2010 Ingvar Harjaks <ingvarharjaks@gmail.com>
All costs of this development were covered by open source fiendy
company BrightSide OÜ <www.brightside.ee>

PaySwed is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.

PaySwed is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with PaySwed. If not, see <http://www.gnu.org/licenses/>.
*/

require 'catalog/controller/common/pizza.php';
class ControllerPaymentPaySwed extends Pizza {

  public $bank = "payswed";
  public $vk_version = "008";
  
  /* Send data to bank */
  protected function index() {
    $this->s_id = "1001";
    $this->prepare_data();
  }
	
  /* Read banks-s response */
  public function callback() {
    $this->pizza_callback();
  }
}
